package com.bawei.mall.product.service.impl;

import com.bawei.mall.product.mapper.MallProductHotwordInfoMapper;
import com.bawei.mall.product.service.MallProductHotwordInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author：liurui
 * @Package：com.bawei.mall.product.service.impl
 * @Project：mall_cloud
 * @name：MallProductHotwordInfoServiceImpl
 */
@Service
public class MallProductHotwordInfoServiceImpl implements MallProductHotwordInfoService {
    @Autowired
    private MallProductHotwordInfoMapper mapper;

    @Override
    public List<String> find() {
        return mapper.find();
    }

    @Override
    public void add(String name) {
        mapper.add(name);
    }

    @Override
    public void update(Integer id) {
        mapper.update(id);
    }
}
